<template>
  <div>
    <parentsIndex v-if="userstype=='1'"></parentsIndex>
    <teacherindex v-if="userstype=='2'"></teacherindex>
  </div>
</template>

<script>

import parentsIndex from "./parentsIndex";
import teacherindex from "./teacherindex";

export default {
  props:['userstype'],
  components: {
    parentsIndex,
    teacherindex
  },
  data() {
    return {
    }
  },
  created() {
  },
  methods: {},
  mounted() {
  },
}
</script>
<style scoped>
</style>
